export const childElderlyColumns = [
  { label: "事业部/子公司", prop: "companyName", align: "center" },
  { label: "园区", prop: "parkName", align: "center" },
  { label: "设计托位/床位数", prop: "designNum", align: "center" },
  {
    label: "上月底",
    align: "center",
    children: [
      { label: "在园人数", prop: "lastMonthCount", align: "center" },
      { label: "在园率", prop: "lastMonthRate", align: "center" },
    ],
  },
  {
    label: "上周",
    align: "center",
    children: [
      { label: "在园人数", prop: "lastWeekCount", align: "center" },
      { label: "在园率", prop: "lastWeekRate", align: "center" },
    ],
  },
  {
    label: "前天",
    align: "center",
    children: [
      { label: "在园人数", prop: "beforeYesterdayCount", align: "center" },
      { label: "在园率", prop: "beforeYesterdayRate", align: "center" },
    ],
  },
  {
    label: "昨天",
    align: "center",
    children: [
      { label: "在园人数", prop: "yesterdayCount", align: "center" },
      { label: "在园率", prop: "yesterdayRate", align: "center" },
    ],
  },

  {
    label: "日变动",
    align: "center",
    children: [
      { label: "在园人数", prop: "countChangeValue", align: "center" },
      { label: "在园率", prop: "rateChangeValue", align: "center" },
    ],
  },
];

export const communityColumns = [
  { label: "事业部/子公司", prop: "companyName", align: "center" },
  { label: "可出租面积", prop: "rentableArea", align: "center" },
  {
    label: "上月",
    align: "center",
    children: [
      { label: "面积", prop: "lastMonthArea", align: "center" },
      { label: "出租率", prop: "lastMonthRate", align: "center" },
    ],
  },
  {
    label: "上周",
    align: "center",
    children: [
      { label: "面积", prop: "lastWeekArea", align: "center" },
      { label: "出租率", prop: "lastWeekRate", align: "center" },
    ],
  },
  {
    label: "前天",
    align: "center",
    children: [
      { label: "面积", prop: "beforeYesterdayArea", align: "center" },
      { label: "出租率", prop: "beforeYesterdayRate", align: "center" },
    ],
  },
  {
    label: "昨天",
    align: "center",
    children: [
      { label: "面积", prop: "yesterdayArea", align: "center" },
      { label: "出租率", prop: "yesterdayRate", align: "center" },
    ],
  },

  {
    label: "日变动",
    align: "center",
    children: [
      { label: "面积", prop: "areaChangeValue", align: "center" },
      { label: "出租率", prop: "rateChangeValue", align: "center" },
    ],
  },
];

export const labHospitalColumns = [
  { label: "事业部", prop: "companyName" },
  { label: "子公司", prop: "parkName" },
  { label: "年度目标", prop: "annualIncome" },
  { label: "上月收入", prop: "lastMonthIncome" },
  { label: "截至上月累计收入", prop: "thisYearUpToLastMonthIncome" },
  { label: "上周收入", prop: "lastWeekIncome" },
  { label: "前日收入", prop: "beforeYesterdayIncome" },
  { label: "昨日收入", prop: "yesterdayIncome" },
  { label: "日变动收入", prop: "incomeChangeValue" },
].map((_) => ({ ..._, align: "center" }));

export const culturalLvColumns = [
  { label: "事业部/子公司", prop: "companyName" },
  { label: "上月上刊率", prop: "lastMonthAvgPercent" },
  { label: "截至上月累计上刊率", prop: "thisYearUpToLastMonthAvgPercent" },
  { label: "上周上刊率", prop: "lastWeekAvgPercent" },
  { label: "前日上刊率", prop: "beforeYesterdayPublicationPercent" },
  { label: "昨日上刊率", prop: "yesterdayPublicationPercent" },
  { label: "日变动上刊率", prop: "yesterdayPublicationPercentChangeValue" },
].map((_) => ({ ..._, align: "center" }));

export const culturalColumns = [
  { label: "事业部/子公司", prop: "companyName" },
  { label: "上月签订合同金额", prop: "lastMonthContractAmount" },
  {
    label: "截至上月签订合同金额",
    prop: "thisYearUpToLastMonthContractAmount",
  },
  { label: "上周签订合同金额", prop: "lastWeekContractAmount" },
  { label: "前日签订合同金额", prop: "beforeYesterdayContractAmount" },
  { label: "昨日签订合同金额", prop: "yesterdayContractAmount" },
  { label: "日签订合同金额变动", prop: "yesterdayContractAmountChangeValue" },
].map((_) => ({ ..._, align: "center" }));

export const lingchuangPointColumns = [
  { label: "事业部/子公司", prop: "companyName" },
  { label: "年度目标", prop: "annualTarget" },
  { label: "上月底已投运点数", prop: "lastMonthPointNum" },
  { label: "上周已投运点数", prop: "lastWeekPointNum" },
  { label: "前日已投运点数", prop: "beforeYesterdayPointNum" },
  { label: "昨日已投运点数", prop: "yesterdayPointNum" },
  { label: "日变动投运点数", prop: "yesterdayPointNumChangeValue" },
].map((_) => ({ ..._, align: "center" }));

export const lingchuangColumns = [
  { label: "事业部/子公司", prop: "companyName" },
  { label: "上月收入", prop: "lastMonthIncome" },
  { label: "截至上月累计收入", prop: "thisYearUpToLastMonthIncome" },
  { label: "上周收入", prop: "lastWeekIncome" },
  { label: "前日收入", prop: "beforeYesterdayIncome" },
  { label: "昨日收入", prop: "yesterdayIncome" },
  { label: "日变动收入", prop: "yesterdayIncomeChangeValue" },
].map((_) => ({ ..._, align: "center" }));

export const gymColumns = [
  { label: "事业部/子公司", prop: "companyName" },
  { label: "上月收入", prop: "lastMonthIncome" },
  { label: "截至上月累计收入", prop: "thisYearUpToLastMonthIncome" },
  { label: "上周收入", prop: "lastWeekIncome" },
  { label: "前日收入", prop: "beforeYesterdayIncome" },
  { label: "昨日收入", prop: "yesterdayIncome" },
  { label: "日变动收入", prop: "yesterdayIncomeChangeValue" },
].map((_) => ({ ..._, align: "center" }));

export const chenganColumns = [
  { label: "事业部/子公司", prop: "name" },
  { label: "上月签订合同金额", prop: "lastMonthContractAmount" },
  { label: "截至上月累计签订合同金额", prop: "thisYearUptoLastMonthAmount" },
  { label: "上周签订合同金额", prop: "lastWeekAmount" },
  { label: "前日签订合同金额", prop: "beforeYesterdayAmount" },
  { label: "昨日签订合同金额", prop: "yesterdayAmount" },
  { label: "日签订合同金额变动", prop: "yesterdayAmountChangeValue" },
].map((_) => ({ ..._, align: "center" }));
